package com.sy.bean.pucharse.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(25)
public class GoodsExcel {
    @ExcelProperty("所属商品分类")
    String categoryCode;
    @ExcelProperty("分类名称")
    String categoryName;
    @ExcelProperty("商品名称")
    String name;
    @ExcelProperty("规格型号")
    String spec;
    @ExcelProperty("单位")
    String unit;
    @ExcelProperty("零售价")
    double oprice;
    @ExcelProperty("预计采购价")
    double purchasePrice;
    @ExcelProperty("当前库存")
    int stock;
    @ExcelProperty("期初数量")
    int num;
    @ExcelProperty("单位成本")
    double price;
    @ExcelProperty("期初总价")
    double total;

}
